package com.jas.ui;

import java.util.ArrayList;
import java.util.List;

import com.jas.common.Event;
//@author A0098803W
/**
 * This class retrieves the list of items to display to the user.
 * 
 * 
 * 
 */
public class JasDisplay {
	/**
	 * The type of display. Only three types allowed: GUI, CLI, LC (language
	 * change)
	 */
	private String displayMessage;
	/**
	 * The list of items to display.
	 */
	private List<Event> displayEvent;

	public JasDisplay(){
		displayMessage = "";
		displayEvent = new ArrayList<Event>();
	}
	
	// Getters and Setters

	/**
	 * This method gets the message for the JasDisplay object.
	 * 
	 * @return Returns the message from the controller.
	 */
	public String getDisplayMessage() {
		return displayMessage;
	}

	/**
	 * This method sets the message for the JasDisplay object.
	 * 
	 * @param displayMessage
	 *            The message to send to JasDisplay object.
	 */
	public void setDisplayMessage(String displayMessage) {
		this.displayMessage = displayMessage;
	}

	/**
	 * This method gets the list JasDisplay object(s) to display to the user.
	 * 
	 * @return Returns a list of JasDisplay object(s).
	 */
	public List<Event> getDisplayEvent() {
		return displayEvent;
	}

	/**
	 * This method gets the list JasDisplay object(s) to display to the user.
	 * 
	 * @param displayText
	 */
	public void setDisplayEvent(List<Event> displayEvent) {
		this.displayEvent = displayEvent;
	}

}
